package com.cc.pms.service;

import com.cc.pms.domain.Tag;
import com.cc.common.core.domain.R;
import com.cc.common.core.page.PageQuery;
import com.cc.common.core.page.PageVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cc.pms.domain.vo.TagVo;

import java.util.List;

/**
 * <p>
 * 标签 服务类
 * </p>
 *
 * @author corleone
 * @since 2025-04-19
 */
public interface ITagService extends IService<Tag> {
    PageVo<TagVo> pageVo(Tag tag, PageQuery query);
    R<Long> create(Tag tag);
    R<Boolean> update(Tag tag);
    R<Boolean> delete(Long[] ids);
    Tag getById(Long id);
    List<Tag> listAll();
    List<Tag> listByTypeId(Long typeId);
}
